using System;
using System.Collections.Generic;
using System.Text;

namespace SqlTools.SampleDAL
{
	public class CustomerPrimaryKey : UserPrimaryKey
	{
		protected int _customerID = 0;

		public CustomerPrimaryKey()
			: this(0)
		{
		}

		public CustomerPrimaryKey(int customerID)
			: this(customerID, 0)
		{
		}

		public CustomerPrimaryKey(int customerID, int userID)
			: base(userID)
		{
			_customerID = customerID;
			this.Columns.Add("CustomerID", _customerID);
		}

		public int CustomerID
		{
			get { return _customerID; }
			internal set { _customerID = value; }
		}
	}
}
